package cn.lingyangwl.agile.plugin.file.preview.model;

import cn.lingyangwl.agile.plugin.file.preview.service.FilePreview;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shenguangyang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FilePreviewRS {
    /**
     * @see FilePreview
     */
    private String type;

    /**
     * 文本数据
     */
    private String textData;

    /**
     * 文件的url(非文本数据展示url)
     */
    private String imageUrl;

    private String pdfUrl;
}
